function addFix (num) {
    let str = ''
    if (num < 10) {
        str = '0' + num
    } else {
        str = String(num)
    } return str
}
module.exports = function () {
    const date = new Date()
    return `${date.getFullYear()}-${addFix(date.getMonth() + 1)}-${addFix(date.getDay() + 1)} ${addFix(date.getHours())}:${addFix(date.getMinutes())}:${addFix(date.getSeconds())}`
}